#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author  : lei.wang
from pydantic import BaseModel, Field


class LoginModel(BaseModel):
    username: str = Field(description="Username")
    password: str = Field(description="Password")


class RefreshTokenModel(BaseModel):
    expired_token: str = Field(description="过期的token")
